<%@ page language="java"  pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	    <title><fmt:message key="appResourceDetail.heading"/></title>
	    	 	<link href="${ctxPath}/css/style/Tooltip.css" type=text/css rel=stylesheet />
		<SCRIPT src="${ctxPath}/css/style/superValidator.js" type=text/javascript></SCRIPT>
		<SCRIPT type=text/javascript>
	    $(document).ready(function(){
			setEmptyCheck("checkResourceName:checkResourceTitle:checkUrl:checkDesc");
		});
	    </SCRIPT>
  </head>
  <body>
   	 <ul>
          <li class="titleonly">
          <img src="${ctxPath}/css/style/base/image/dot.gif" width="15" height="16" class="dot" />&gt;&gt;权限添加<a href="javascript:history.back()"><img src="${ctxPath}/css/style/base/image/backtrack.gif" width="14" height="14" align="absmiddle" class="backtrack"/>返回</a>
			</li>
        </ul>
        <ul>
		<div id="tj">
			<form:form method="post" id="appResource" commandName="appResource" action="editAppResource.do">	
			<form:hidden path="resourceId"/>
			<div id="check_top">
				<div id="title_c"><li>添加权限</li></div>
			    <div id="content_c">
			    <li class="w50">资源名称 ：<input name="resourceName" value="${appResource.resourceName}" type="text" class="inputbox120" id=checkResourceName size=30 check="2"  tip="资源名称不能为空"/></li>
			    <li class="w10"></li>
			    <li class="w40">资源标题：<input name="resourceTitle" value="${appResource.resourceTitle}" type="text" class="inputbox120" id=checkResourceTitle size=30 check="2"  tip="资源标题不能为空"/></li>
			    <li class="w50">资&nbsp;&nbsp;源&nbsp;url：<input name="resourceUrl" value="${appResource.resourceUrl}" type="text"  id=checkUrl size=30 check="2"  tip="URL不能为空"/></li>
			    <li class="w10"></li>
			    <li class="w40">资源描述：<input name="resourceDesc" type="text" value="${appResource.resourceDesc}" class="inputbox120" id=checkDesc size=30 check="2"  tip="描述不能为空"/></li>
			    <div id="clear"></div>
			    </div>
			</div>
               <div id="button">
               <input  type="submit" value="保存" style="width:100px; text-align:center; margin-left:100px" />
               <input  type="button" onclick="javascript:history.back()" value="取消" style="width:100px; text-align:center;margin-left:100px" />
			</div>
			</form:form>
</div><!--浮层结束-->
  </body>
</html>